import { DashboardStats, ChainDistribution, RecentActivity } from '../types/dashboard';

// 模拟用户数据
export const mockUsers = [
  {
    id: '1',
    username: 'admin',
    password: '123456',
    email: 'admin@example.com',
    role: 'admin',
    phone: '13800138000',
    token: 'mock-admin-token'
  },
  {
    id: '2',
    username: 'test',
    password: '123456',
    email: 'test@example.com',
    role: 'user',
    phone: '13800138001',
    token: 'mock-user-token'
  }
];

// 模拟仪表盘数据
export const mockDashboardData = {
  stats: {
    userCount: 156,
    reportCount: 89
  } as DashboardStats,

  chainDistribution: [
    { type: '产业报告', value: 45 },
    { type: '企业报告', value: 30 },
    { type: '技术报告', value: 25 }
  ] as ChainDistribution[],

  recentActivities: [
    {
      id: '1',
      type: 'report',
      title: '2024年产业发展报告',
      time: '2024-03-15 14:30'
    },
    {
      id: '2',
      type: 'chat',
      title: '关于产业政策的咨询',
      time: '2024-03-15 10:20'
    }
  ] as RecentActivity[]
};

// 模拟报告数据
export const mockReports = [
  {
    id: '1',
    title: '2024年汽车产业发展趋势报告',
    type: 'industry' as const,
    content: '报告内容...',
    author: '研究部',
    createTime: '2024-03-01',
    updateTime: '2024-03-15',
    status: 'published' as const
  },
  {
    id: '2',
    title: '一汽集团企业分析报告',
    type: 'enterprise' as const,
    content: '报告内容...',
    author: '分析师张三',
    createTime: '2024-03-10',
    updateTime: '2024-03-10',
    status: 'draft' as const
  },
  {
    id: '3',
    title: '新能源汽车技术发展报告',
    type: 'technology' as const,
    content: '报告内容...',
    author: '技术部',
    createTime: '2024-03-05',
    updateTime: '2024-03-18',
    status: 'published' as const
  }
]; 